package com.example;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;

import com.example.singletones.SQLHelper;
import com.example.singletones.contextObj;
import com.example.singletones.userSettings;

public class ServicesDemo extends Activity {
	Button buttonStart, buttonStop;

	@Override
	public void onCreate(Bundle savedInstanceState) {

		contextObj.getInstance().setmContext(this);
		SQLHelper.getInstance(this);
		userSettings.getInstance().loadModel();
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		startService(new Intent(this, MyService.class));
		findViewById(R.id.controlsFlipper);
		// webView.addJavascriptInterface(new WebAppInterface(this), "Android");
		// webView.loadUrl("file:///android_asset/mainPage.html");
		startService(new Intent(this, MyService.class));
		new Logger();
		// new Sensor_Log_Parser("com.waze");

	}
}